﻿namespace BoneSystem.Extensions.Form
{
    public class FormSettings : Settings
    {
        private int _colCount;
        private bool _angularApp = false;

        public string UrlNew { get; set; }
        public string UrlUpdate { get; set; }
        public string UrlDelete { get; set; }
        public AngularFormSettings AngularFormSettings { get; set; }

        public bool AngularApp
        {
            get { return _angularApp; }
            set { _angularApp = value; }
        }

        public int ColCount
        {
            get
            {
                if (_colCount == 0)
                {
                    _colCount = 1;
                }
                return _colCount;
            }
            set { _colCount = value; }
        }
    }
}
